<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文章列表</title>
</head>
<body>
    {% for article in articles %}
{#        <a href="/article/{{ article.pk }}">{{ article.title }}</a><br>#}
        <a href="{% url 'article_detail' article.pk %}">{{ article.title }}</a><br>
    {% endfor %}
</body>
</html>